package com.xmb.common.service;

import com.xmb.common.entity.XmbSpreadRewardRecord;

/**
 * Created by lyndon on 2019/4/10.
 */
public interface SprendRewardRecordService {

    /**
     * 保存奖励发放记录
     * @param rewardRecord
     * @return
     */
    Long saveSprendRewardRecord(XmbSpreadRewardRecord rewardRecord);

    /**
     * 判断是否需要发放奖励
     * @param uid
     * @param activityId
     * @param path
     * @return
     */
    boolean checkIsNeedGiftReward(Long uid,Long activityId,String path);
}
